package com.syni.mdd.yhd.common.all.dao.jpa;

import com.syni.mdd.yhd.common.all.dao.BaseJPADao;
import com.syni.mdd.yhd.common.all.entity.BmsMarketActivity;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface BmsMarketActivityDao extends BaseJPADao<BmsMarketActivity,Integer> {
    BmsMarketActivity findByIdAndIsDelete(Integer activityId,Integer isDelete);

    List<BmsMarketActivity> findByBusinessId(Integer businessId,Pageable pageable);

    List<BmsMarketActivity> findByBusinessId(Integer businessId);
}
